<!doctype html>
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	<ul>
		<li>宋江</li>
		<li>卢俊义</li>
		<li>吴用</li>
		<li>李逵</li>
	</ul>
	<ul>
		<li>刘备</li>
		<li>关羽</li>
		<li>张飞</li>
		<li>曹操</li>
	</ul>
	<button onclick="getLi()">获取li</button>
	<script src="jquery-1.11.3.js"></script>	
	<script>
		function getLi(){
			//$("li:first").css("background-color","pink");
			$("li:first-child").css("background-color","yellow");
		}
	</script>
</body>
</html>